<?
if (count($list_of_teams) == 0) {
	?><h2>No Teams Attending</h2>
	<p>Currently, no teams are known to be registered for the <strong><?echo $event->getYear() . " " . $event->getName() ?></strong>. Please check back later!</p><?
} else {
    printf("<table class=\"table_alt\">\r<tr class=\"table_toprow\"><td>#</td><td><img src=\"" . $BASE_PATH . "/images/camera_icon.png\" /></td><td>Name</td><td>Location</td><td>Site</td></tr>");
	//iterate the results
	$zebra = 0;
	foreach ($list_of_teams as $team) {
		include "views/teamrow.php";
	}
	printf("</table>");
}
?>